tests/get-with-headers.py
changeset 45830 c102b704edb5
parent 43380 579672b347d2
child 47500 23f5ed6dbcb1
equal deleted inserted replaced
45829:e7a4c018b563 45830:c102b704edb5
     1 #!/usr/bin/env python
     1 #!/usr/bin/env python3
     2 
     2 
     3 """This does HTTP GET requests given a host:port and path and returns
     3 """This does HTTP GET requests given a host:port and path and returns
     4 a subset of the headers plus the body of the result."""
     4 a subset of the headers plus the body of the result."""
     5 
     5 
     6 from __future__ import absolute_import
     6 from __future__ import absolute_import