mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2026-09-13 12:15:53 +00:00
Test curl-impersonate's HTTP headers
Add tests to verify that the HTTP headers and HTTP/2 pseudo-headers generated by curl-impersonate match the expected ones from the browser. The test uses a local nghttpd HTTP/2 server instance with a self-signed certificate.
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ FROM python:3.10.1-slim-buster
|
||||
WORKDIR /tests
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y tcpdump libbrotli1 libnss3 gcc libcurl4-openssl-dev
|
||||
apt-get install -y tcpdump libbrotli1 libnss3 gcc libcurl4-openssl-dev nghttp2-server
|
||||
|
||||
COPY requirements.txt requirements.txt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user