You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current project's network requests include requests and urllib, among others. Among these, urllib's API is not particularly user-friendly; requests do not support async. encode/httpx: A next generation HTTP client for Python. 🦋 - GitHub natively provides async/sync APIs, and its API is similar to requests, offering better usability.
The text was updated successfully, but these errors were encountered:
awwaawwa
changed the title
将HTTP请求库统一为httpx
refactor: 将 HTTP 请求库统一为 httpx
Dec 19, 2024
awwaawwa
changed the title
refactor: 将 HTTP 请求库统一为 httpx
refactor: unify HTTP request library to httpx
Dec 19, 2024
Mainly, when calling some translation APIs, HTTP requests need to be sent, and currently, requests is being used for that part, so I'm thinking of unifying everything to async when I get to it, since there aren't many anyway.
The current project's network requests include requests and urllib, among others. Among these, urllib's API is not particularly user-friendly; requests do not support async. encode/httpx: A next generation HTTP client for Python. 🦋 - GitHub natively provides async/sync APIs, and its API is similar to requests, offering better usability.
The text was updated successfully, but these errors were encountered: