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

tomelliff / s3-web-service-proxy / 3
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: use-requests-instead-of-urllib2
DEFAULT BRANCH: master
Ran 24 Apr 2017 10:57AM UTC
Jobs 1
Files 1
Run time 0s
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
3

push

travis-ci

tomelliff
Switch to PUT to be more semantically correct

Technically this call should be idempotent as it is telling a web service that an event has happened so a PUT is more appropriate.
However this does add to a bit of extra growth in code as urllib2 will only normally GET/POST.
The alternative would be to use requests but this adds a dependency to the project which adds more complication in building and deploying a package for AWS Lambda.

Method overriding for urllib2 was found at http://stackoverflow.com/questions/21243834/doing-put-using-python-urllib2/31839324#31839324

25 of 25 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3.1 24 Apr 2017 10:57AM UTC 0
100.0
Travis Job 3.1
Source Files on build 3
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3
  • ba047654 on github
  • Next Build on put-instead-of-post (#4)
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

© 2026 Coveralls, Inc