Also log Headers on micropub

This commit is contained in:
Peter Stuifzand 2018-07-03 22:55:01 +02:00
parent 854e5f5e25
commit b34604607d

View File

@ -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")