Index: uspace/lib/http/src/response.c
===================================================================
--- uspace/lib/http/src/response.c	(revision 408424e4d6ecbd4f4fe51e827379f230a7e6618e)
+++ uspace/lib/http/src/response.c	(revision 4f086417d58e6722abb07d1b3ecedde65654bcfb)
@@ -185,5 +185,6 @@
 }
 
-int http_receive_response(receive_buffer_t *rb, http_response_t **out_response)
+int http_receive_response(receive_buffer_t *rb, http_response_t **out_response,
+    size_t max_headers_size, unsigned max_headers_count)
 {
 	http_response_t *resp = malloc(sizeof(http_response_t));
@@ -198,5 +199,6 @@
 		goto error;
 	
-	rc = http_headers_receive(rb, &resp->headers);
+	rc = http_headers_receive(rb, &resp->headers, max_headers_size,
+	    max_headers_count);
 	if (rc != EOK)
 		goto error;
