Grid Community Toolkit  6.2.1705709074 (tag: v6.2.20240202)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
http_header_test.c File Reference

HTTP Header 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 Header test.

Test that clients can send arbitrary HTTP headers to servers, and servers can send arbitrary HTTP headers to clients.

Test cases are read from a file passed on the command line. File contains pseudo-xml sequences header-name header-value so that we can test handling of whitespace in header names and values

The test client will send a HEAD request for the /header-test URI and set all of the headers in the test file in the request attributes.

The test server will