Comments (2)
目前 direwolf 使用的是 Go 标准库中的 Cookiejar,其并没有提供获取所有 Cookie 的接口,所以实现这个功能需要更多的工作。
大多数情况下用户是获取某个域名的所有 Cookie。这个功能使用 Session 的 Cookies
方法即可,返回的是 Cookie
类型的一个 Slice,而 Cookie
类型本身有 String
这个方法,遍历切片,调用这个方法即可。
from direwolf.
如果没有疑问,我会在两天后关闭这个 issue。
from direwolf.
Related Issues (5)
- read Response.Body failed unexpected EOF HOT 4
- Params not work as expected HOT 1
- 设置代理有问题 HOT 3
- Post 表单 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 direwolf.