httplib: fix unstable test, do not use httplib.org
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
// Package apiauth provides handlers to enable apiauth support.
|
||||
//
|
||||
// Simple Usage:
|
||||
//
|
||||
// import(
|
||||
// "github.com/beego/beego/v2"
|
||||
// "github.com/beego/beego/v2/server/web/filter/apiauth"
|
||||
@@ -37,11 +38,11 @@
|
||||
//
|
||||
// Information:
|
||||
//
|
||||
// In the request user should include these params in the query
|
||||
// # In the request user should include these params in the query
|
||||
//
|
||||
// 1. appid
|
||||
//
|
||||
// appid is assigned to the application
|
||||
// appid is assigned to the application
|
||||
//
|
||||
// 2. signature
|
||||
//
|
||||
@@ -51,8 +52,7 @@
|
||||
//
|
||||
// 3. timestamp:
|
||||
//
|
||||
// send the request time, the format is yyyy-mm-dd HH:ii:ss
|
||||
//
|
||||
// send the request time, the format is yyyy-mm-dd HH:ii:ss
|
||||
package apiauth
|
||||
|
||||
import (
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
// Package auth provides handlers to enable basic auth support.
|
||||
// Simple Usage:
|
||||
//
|
||||
// import(
|
||||
// "github.com/beego/beego/v2"
|
||||
// "github.com/beego/beego/v2/server/web/filter/auth"
|
||||
@@ -25,7 +26,6 @@
|
||||
// beego.Run()
|
||||
// }
|
||||
//
|
||||
//
|
||||
// Advanced Usage:
|
||||
//
|
||||
// func SecretAuth(username, password string) bool {
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
// Package authz provides handlers to enable ACL, RBAC, ABAC authorization support.
|
||||
// Simple Usage:
|
||||
//
|
||||
// import(
|
||||
// "github.com/beego/beego/v2"
|
||||
// "github.com/beego/beego/v2/server/web/filter/authz"
|
||||
@@ -26,7 +27,6 @@
|
||||
// beego.Run()
|
||||
// }
|
||||
//
|
||||
//
|
||||
// Advanced Usage:
|
||||
//
|
||||
// func main(){
|
||||
|
||||
@@ -14,9 +14,11 @@
|
||||
|
||||
// Package cors provides handlers to enable CORS support.
|
||||
// Usage
|
||||
//
|
||||
// import (
|
||||
// "github.com/beego/beego/v2"
|
||||
// "github.com/beego/beego/v2"
|
||||
// "github.com/beego/beego/v2/server/web/filter/cors"
|
||||
//
|
||||
// )
|
||||
//
|
||||
// func main() {
|
||||
|
||||
Reference in New Issue
Block a user