• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mitmproxy / netlib / 617
60%

Build:
DEFAULT BRANCH: master
Ran 15 Feb 2016 09:17PM UTC
Jobs 4
Files 30
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
617

Pull #123

travis-ci

fimad
Preserve host header when modifying request path

Currently the path_components and query setters of the Request object
use the url setter under the hood. The url setter updates all parts of
the URL including the host. If the host header and the host in the
request URL are different (as is common when making HTTPS requests)
then the host header will be updated to the value in the URL as a
result of modifying the path.

This change fixes this problem by modifying the query and
path_components setters to not use the url setter and instead directly
update the path field.
Pull Request #123: Preserve host header when modifying request path

2 of 2 new or added lines in 1 file covered. (100.0%)

2553 of 2691 relevant lines covered (94.87%)

3.78 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
netlib/http/message.py
3
100.0
netlib/http/headers.py
4
100.0
netlib/websockets/protocol.py
5
100.0
netlib/tcp.py
10
100.0
netlib/http/request.py
14
100.0
netlib/utils.py
Jobs
ID Job ID Ran Files Coverage
1 617.1 15 Feb 2016 09:17PM UTC 0
94.35
Travis Job 617.1
2 617.2 (OPENSSL=1.0.2) 15 Feb 2016 09:17PM UTC 0
94.35
Travis Job 617.2
5 617.5 15 Feb 2016 09:17PM UTC 0
94.35
Travis Job 617.5
6 617.6 (OPENSSL=1.0.2) 15 Feb 2016 09:18PM UTC 0
94.87
Travis Job 617.6
Source Files on build 617
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #617
  • Pull Request #123
  • PR Base - master (#614)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc