Comments (6)
Luke is one of the best open source software creators I know.
I am even a little concerned about his normal work and personal life, because he responds always so fast, many times with code examples.
He deserves 1000 sponsors.
from httpie.
Hey,
For both browser variants, just use opts.withCredentials
it maps over directly (eg, https://github.com/lukeed/httpie/blob/next/src/xhr.js#L53). There's no equivalent in Node because it doesn't apply, so you can use the same set of options and Node variant will ignore it:
httpie.send('GET', '...', {
with credentials: true,
headers: { ... }
})
Hope that helps
from httpie.
I'm sorry, atm on mobile. Gonna try it asap. Thanks
from httpie.
Confirmed, it works!
There's even suggestion on vscode lol. My bad I didn't look into source 1st before asking. As always, thank you so much
from httpie.
Hey, just following up. Did this work okay for you?
from httpie.
Haha thank you @paulocoghi, appreciate the kind words
from httpie.
Related Issues (20)
- Browser Version HOT 15
- 🙈 Ignore package-lock.json and yarn.lock HOT 3
- WHATWG URL not working HOT 4
- If host is offline HOT 2
- react-native compatibility (Android) HOT 8
- V2 Release Date HOT 1
- How to Timeout requests HOT 3
- Send form-data HOT 2
- Expose RAW Response object HOT 5
- Here is an possibly an error with FormData (v2) HOT 1
- ERR_PACKAGE_PATH_NOT_EXPORTED HOT 2
- next "timeout" doesn't work as expected (i guess)
- Caching support HOT 3
- ESM module for both Node.js and the Browser? HOT 1
- Use of send.bind(send, 'METHOD') prevents tree shaking with Rollup HOT 6
- [next] exports field browser conditional ordering HOT 2
- npm "readme" is totally blank HOT 2
- Ability to abort requests
- Inconsistent response handling in v2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from httpie.