Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张磊
/
FileStorageBeego
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
69fc22f0
authored
2015-04-26 02:06:19 +0800
by
JessonChan
Committed by
astaxie
2015-05-25 09:10:37 +0800
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
typo fixed
1 parent
4cd7177e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
httplib/httplib.go
httplib/httplib.go
View file @
69fc22f
...
...
@@ -51,7 +51,7 @@ import (
"time"
)
var
defaultSetting
=
BeegoHttpSettings
{
UserAgent
:
"beegoServer"
,
ConnectTimeout
t
:
60
*
time
.
Second
,
ReadWriteTimeout
:
60
*
time
.
Second
,
Gzip
:
true
}
var
defaultSetting
=
BeegoHttpSettings
{
UserAgent
:
"beegoServer"
,
ConnectTimeout
:
60
*
time
.
Second
,
ReadWriteTimeout
:
60
*
time
.
Second
,
Gzip
:
true
}
var
defaultCookieJar
http
.
CookieJar
var
settingMutex
sync
.
Mutex
...
...
@@ -88,7 +88,7 @@ func newBeegoRequest(url, method string) *BeegoHttpRequest {
return
&
BeegoHttpRequest
{
url
:
url
,
req
:
&
req
,
paras
:
map
[
string
]
string
{},
para
m
s
:
map
[
string
]
string
{},
files
:
map
[
string
]
string
{},
setting
:
defaultSetting
,
resp
:
&
resp
,
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment