Skip to content
프로젝트

소개

Python과 Flask로 작성된 HTTP 요청 및 응답 서비스입니다.

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+3
in 15 days
+1
in 1 month
+3

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

httpbin(1): HTTP Request & Response Service

A Kenneth Reitz Project.

ice cream

httpbin is a small web service for testing HTTP clients. It echoes back what you send (headers, query, body, files, cookies, your IP) and answers on demand with the status code, delay, redirect, compression, auth challenge or data you ask for, so you can check how your code behaves against each of them. It is what runs at http://httpbin.org.

This project does not publish releases or Docker images. To run your own copy, build it from this repository:

git clone https://github.com/postmanlabs/httpbin.git
cd httpbin
docker build -t httpbin . && docker run -p 80:8080 httpbin

See http://httpbin.org for more information.

To limit where /redirect-to may send clients, set ALLOWED_REDIRECT_DOMAINS to a comma-separated list of hosts, for example docker run -p 80:8080 -e ALLOWED_REDIRECT_DOMAINS=example.com,example.org httpbin.

Running the tests

pip install --require-hashes -r requirements-test.txt
python test_httpbin.py

To run the tests against any running httpbin instead of the in-process app, set its base URL. Tests that need the in-process app are skipped.

HTTPBIN_TEST_TARGET_URL=http://localhost:8080 python test_httpbin.py

Officially Deployed at:

SEE ALSO

Build Status

test

관련 프로젝트 살펴보기

불러오는 중…