mirror of
https://github.com/apache/httpd.git
synced 2025-08-20 14:14:48 +00:00

mod_proxy: forward trailers on chunked request encoding test: add http/1.x test cases in pytest git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899552 13f79535-47bb-0310-9956-ffa450edef68
16 lines
484 B
Python
Executable File
16 lines
484 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import os
|
|
|
|
print("Content-Type: application/json")
|
|
print()
|
|
print("{")
|
|
print(" \"https\" : \"%s\"," % (os.getenv('HTTPS', '')))
|
|
print(" \"host\" : \"%s\"," % (os.getenv('SERVER_NAME', '')))
|
|
print(" \"protocol\" : \"%s\"," % (os.getenv('SERVER_PROTOCOL', '')))
|
|
print(" \"ssl_protocol\" : \"%s\"," % (os.getenv('SSL_PROTOCOL', '')))
|
|
print(" \"h2\" : \"%s\"," % (os.getenv('HTTP2', '')))
|
|
print(" \"h2push\" : \"%s\"" % (os.getenv('H2PUSH', '')))
|
|
print("}")
|
|
|