test/http_get_test.c File Reference
HTTP Get Test. More...
#include "globus_common.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "globus_xio.h"
#include "globus_xio_http.h"
#include "globus_xio_tcp_driver.h"
#include "http_test_common.h"
Detailed Description
HTTP Get Test.
Test that clients can receive HTTP message bodies.
Test parameters are
- -f filename
Name of file to be used as the test message - -v "HTTP/1.0"|"HTTP/1.1"
Set HTTP version to use - -t "chunked"|"identity"
Set transfer encoding (for HTTP/1.1 transfers only) - -b buffer-size
Set the size (in bytes) to be read/written at a time
The test client will send the GET request for the /get-test URI.
The test server will
- verify the receipt of the /get-test URI
- generate a response which contains the test file as the body.
Test test client will then compare the response message with the contents of the file.
Generated on 25 Nov 2015 for globus_xio by
1.4.7