Also log Headers on micropub
This commit is contained in:
parent
854e5f5e25
commit
b34604607d
|
@ -26,6 +26,7 @@ func (h *micropubHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
log.Printf("%s %s\n", r.Method, r.URL)
|
||||
log.Println(r.URL.Query())
|
||||
log.Println(r.PostForm)
|
||||
log.Println(r.Header)
|
||||
|
||||
if r.Method == http.MethodPost {
|
||||
sourceID := r.URL.Query().Get("source_id")
|
||||
|
|
Loading…
Reference in New Issue
Block a user