Show http requests information
This commit is contained in:
parent
93acc1a190
commit
c13b259763
|
@ -195,6 +195,8 @@ func (h *microsubHandler) checkAuthToken(header string, token *TokenResponse) bo
|
|||
}
|
||||
|
||||
func (h *microsubHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
log.Printf("%s %s\n", r.Method, r.URL)
|
||||
log.Println(r.URL.Query())
|
||||
authorization := r.Header.Get("Authorization")
|
||||
|
||||
var token TokenResponse
|
||||
|
|
Loading…
Reference in New Issue
Block a user