- Timestamp:
- Oct 29, 2016, 12:26:36 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/morty.go
r15 r17 211 211 } 212 212 213 if bytes.Contains(bytes.ToLower(contentType), []byte("javascript")) { 214 p.serveMainPage(ctx, errors.New("forbidden content type")) 215 return 216 } 217 213 218 contentInfo := bytes.SplitN(contentType, []byte(";"), 2) 214 219
Note:
See TracChangeset
for help on using the changeset viewer.