- Timestamp:
- Jul 14, 2020, 9:24:04 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/morty.go
r128 r129 343 343 344 344 if cfg.Debug { 345 log.Println( "getting", requestURIStr)345 log.Println(string(ctx.Method()), requestURIStr) 346 346 } 347 347 … … 422 422 // deny access to forbidden content type 423 423 // HTTP status code 403 : Forbidden 424 p.serveMainPage(ctx, 403, errors.New("forbidden content type "))424 p.serveMainPage(ctx, 403, errors.New("forbidden content type "+parsedURI.String())) 425 425 return 426 426 }
Note:
See TracChangeset
for help on using the changeset viewer.