question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Align API with HTTPX changes

See original GitHub issue

HTTPX public API has seen some changes lately that should be addressed and aligned with in RESPX.

When adding patterns/responses, RESPX should support:

  • params (suggested in #63 and solved by #81)
  • files (investigate POST fields) Moved #87
  • cookies (investigate format) Moved #87
  • text, html and json (like existing content -> json, to mimic Response. Partly Solved by #82 and #93)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
lundbergcommented, Sep 30, 2020

@lundberg can you release an version on pypi with supports httpx 0.15?

Absolutely, released 0.13.0 now, sorry for the delay.

0reactions
mkuokkanencommented, Oct 1, 2020

Super quick, thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Advanced Usage - HTTPX
When you make requests using the top-level API as documented in the ... NETRC file has changed), you should create a new client...
Read more >
Upgrading - RESPX
The biggest change involved separating request pattern arguments from response details. This brings the RESPX request matching API closer to the HTTPX client ......
Read more >
HTTP/3 support. · Issue #275 · encode/httpx - GitHub
Obviously looks outdated by now since some bits of HTTPX API have changed, but I'm sure it's been discussed earlier in this thread?...
Read more >
HTTP V2 API - Amplitude Developer Center
The HTTP V2 API replaces the deprecated HTTP API. The Amplitude Developers Postman profile has a full library of example requests and responses...
Read more >
Consuming REST APIs In React With Fetch And Axios
HTTP interceptors are needed when we need to change HTTP requests from our application to the server. Interceptors give us the ability to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found