Commit Graph

23 Commits

Author SHA1 Message Date
Ben Brown c24b5051c0 User-Agent header no longer needs a leading space 2013-02-23 12:22:33 +01:00
Ben Brown 23181d6f4f Corrected Host header handling (fixes #2477) 2013-02-19 20:03:57 +00:00
Jyri J. Virkki b720a89d55 Fix header parsing to compare HTTP header field names case
insensitively. This fixes the problem where responses get incorrectly
marked as errors if the response header field name case doesn't happen
to match to what is in the code.

Also compare connection and transfer-encoding tokens case insensitively.

(Reference: RFC 2616: header field names are not case sensitive.)

Co-authored-by: Stefan Bühler <stbuehler@web.de>
2013-01-07 15:08:05 +01:00
Thomas Porzelt 1bdbe4003c v0.3 2011-10-16 12:01:50 +02:00
Thomas Porzelt 0fdf9d4229 add stats about response status codes (2xx, 3xx, 4xx, 5xx) 2011-10-16 12:01:08 +02:00
Thomas Porzelt 0e287d6736 add -H commandline parameter to specify custom headers 2011-10-16 10:24:51 +02:00
Thomas Porzelt cb720d0bf1 remove some bogus defines from wscript 2009-11-01 15:11:57 +01:00
Thomas Porzelt 5c686391cb add User-Agent header to request 2009-10-04 17:45:27 +02:00
Thomas Porzelt bdfdd127c1 add support for responses that are not keepalive, not chunked and don't have any content-length header 2009-10-04 17:45:19 +02:00
Thomas Porzelt 9df53d5efc v0.2 2009-09-30 23:32:20 +02:00
Thomas Porzelt b9a679e2f5 add chunked encoding support 2009-09-30 23:31:03 +02:00
Thomas Porzelt 9d7e517a0d v0.1 2009-09-13 16:39:02 +02:00
Thomas Porzelt 4a454553a6 add ipv6 support 2009-09-13 16:36:27 +02:00
Thomas Porzelt 993ed0a6b0 fix tiny memory leak 2009-09-13 16:16:29 +02:00
Thomas Porzelt 98278f6de2 add progress output 2009-09-13 16:08:15 +02:00
Thomas Porzelt 2a8afc8dfb fix handling of responses bigger than the client BUFFER_SIZE (32kb) 2009-09-11 20:16:03 +02:00
Thomas Porzelt 572ab4496e fix state machine bug which would lead to failed request even though there was no error 2009-09-11 18:27:43 +02:00
Thomas Porzelt 9df7f495cc fix integer overflows with commandline parameters resulting in wrong amount of requests performed
fix client state machine
2009-09-11 12:09:54 +02:00
Thomas Porzelt 20738ad079 waf: fix broken wscript 2009-09-10 23:53:14 +02:00
Thomas Porzelt dd6f9d16ad add newlines at end of files 2009-09-10 23:45:34 +02:00
Thomas Porzelt a5fc82bc70 fix syntax error introduced by last-minute cleanups... 2009-09-10 22:26:58 +02:00
Thomas Porzelt 5adc0d587e waf: don't treat warnings as errors when compiling 2009-09-10 22:08:42 +02:00
Thomas Porzelt 68b711e66b initial commit 2009-09-10 20:09:56 +02:00