Add TypeStream application/octet-stream
This commit is contained in:
parent
d382505453
commit
23a369677f
12
session.go
12
session.go
|
@ -116,25 +116,37 @@ type Session struct {
|
|||
const (
|
||||
// TypeJSON 类型
|
||||
TypeJSON = "application/json"
|
||||
|
||||
// TypeXML 类型
|
||||
TypeXML = "text/xml"
|
||||
|
||||
// TypePlain 类型
|
||||
TypePlain = "text/plain"
|
||||
|
||||
// TypeHTML 类型
|
||||
TypeHTML = "text/html"
|
||||
|
||||
// TypeURLENCODED 类型
|
||||
TypeURLENCODED = "application/x-www-form-urlencoded"
|
||||
|
||||
// TypeForm PostForm类型
|
||||
TypeForm = TypeURLENCODED
|
||||
|
||||
// TypeStream application/octet-stream 类型 binary
|
||||
TypeStream = "application/octet-stream"
|
||||
|
||||
// TypeFormData 类型
|
||||
TypeFormData = "multipart/form-data"
|
||||
|
||||
// TypeMixed Mixed类型
|
||||
TypeMixed = "multipart/mixed"
|
||||
|
||||
// HeaderKeyHost Host
|
||||
HeaderKeyHost = "Host"
|
||||
|
||||
// HeaderKeyUA User-Agent
|
||||
HeaderKeyUA = "User-Agent"
|
||||
|
||||
// HeaderKeyContentType Content-Type
|
||||
HeaderKeyContentType = "Content-Type"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user