mirror of
https://github.com/guzzle/guzzle.git
synced 2025-02-24 18:13:00 +01:00
Fixing content-length for test server perf response
This commit is contained in:
parent
92d0ffa449
commit
3c89382daf
@ -106,7 +106,7 @@ var GuzzleServer = function(port, log) {
|
||||
*/
|
||||
var receivedRequest = function(request, req, res) {
|
||||
if (req.url == '/guzzle-perf') {
|
||||
res.writeHead(200, "OK", {"Content-Length": 10});
|
||||
res.writeHead(200, "OK", {"Content-Length": 16});
|
||||
res.end("Body of response");
|
||||
} else if (req.url.indexOf("/guzzle-server") === 0) {
|
||||
controlRequest(request, req, res);
|
||||
|
Loading…
x
Reference in New Issue
Block a user