Chen Yufei
|
cfc756f3cb
|
Refactor proxy server representation.
|
2013-10-26 00:57:59 +08:00 |
|
Chen Yufei
|
fe42ffe0dc
|
Handle requests with no host in initial request line.
|
2013-08-20 00:19:41 +08:00 |
|
Chen Yufei
|
946a01efd1
|
Reorder send body function parameters.
|
2013-08-06 10:44:22 +08:00 |
|
Chen Yufei
|
d00fe35bb2
|
Suppress chunked extension error log in test.
|
2013-08-05 20:19:13 +08:00 |
|
Chen Yufei
|
7f89333f0b
|
Use copyN in sendBodyChunked.
|
2013-02-22 22:30:53 +08:00 |
|
Chen Yufei
|
b57b831942
|
Fix extra CRLF bug in sendBodyChunked.
This regression bug is introduced in commit 8d5e2c7.
Also add test case for this bug.
|
2013-02-21 20:43:02 +08:00 |
|
Chen Yufei
|
8d5e2c7800
|
Do not tolerate single LF in chunked ending.
As this is not suggested in the spec.
|
2013-02-21 10:02:56 +08:00 |
|
Chen Yufei
|
8c6f9a639c
|
Add sendBodyChunked test case for buggy http server.
|
2013-02-21 09:52:46 +08:00 |
|
Chen Yufei
|
49bb3177f5
|
Use customized bufio package to avoid copy in sendBocyChunked.
|
2013-02-20 22:36:27 +08:00 |
|
Chen Yufei
|
6ec156d434
|
Use %q to print test raw string.
|
2013-02-20 22:36:26 +08:00 |
|
Chen Yufei
|
a787498442
|
Replace bytes.NewBufferString with strings.NewReader in test.
|
2013-02-20 22:36:26 +08:00 |
|
Chen Yufei
|
4fd8ba3025
|
Use io.MultipleWriter to simplify send body function.
|
2013-02-18 17:05:50 +08:00 |
|
Chen Yufei
|
0cfa57cee9
|
Add test for sendBodyChunked.
|
2013-02-18 13:30:11 +08:00 |
|