"Bad accept-params" #17

Closed
opened 2019-11-29 18:40:15 +01:00 by mrngm · 2 comments
Collaborator
Nov 22 02:49:04 koulourakia rushlink[15035]: 2019/11/22 02:49:04 http: superfluous response.WriteHeader call from gitea.hashru.nl/dsprenkels/rushlink.render (views.go:121)
Nov 22 02:49:04 koulourakia rushlink[15035]: 2019/11/22 02:49:04 error: bad accept-params ("v=b3")
Nov 22 02:49:04 koulourakia rushlink[15035]: 2019/11/22 02:49:04 http: superfluous response.WriteHeader call from gitea.hashru.nl/dsprenkels/rushlink.renderError (views.go:131)
Nov 22 02:49:04 koulourakia rushlink[15035]: 2019/11/22 02:49:04 http: superfluous response.WriteHeader call from gitea.hashru.nl/dsprenkels/rushlink.render (views.go:82)
Nov 22 02:49:04 koulourakia rushlink[15035]: 2019/11/22 02:49:04 http: superfluous response.WriteHeader call from gitea.hashru.nl/dsprenkels/rushlink.render (views.go:121)
Nov 22 02:49:04 koulourakia rushlink[15035]: 2019/11/22 02:49:04 error: panic while recovering from another panic: bad accept-params ("v=b3")
``` Nov 22 02:49:04 koulourakia rushlink[15035]: 2019/11/22 02:49:04 http: superfluous response.WriteHeader call from gitea.hashru.nl/dsprenkels/rushlink.render (views.go:121) Nov 22 02:49:04 koulourakia rushlink[15035]: 2019/11/22 02:49:04 error: bad accept-params ("v=b3") Nov 22 02:49:04 koulourakia rushlink[15035]: 2019/11/22 02:49:04 http: superfluous response.WriteHeader call from gitea.hashru.nl/dsprenkels/rushlink.renderError (views.go:131) Nov 22 02:49:04 koulourakia rushlink[15035]: 2019/11/22 02:49:04 http: superfluous response.WriteHeader call from gitea.hashru.nl/dsprenkels/rushlink.render (views.go:82) Nov 22 02:49:04 koulourakia rushlink[15035]: 2019/11/22 02:49:04 http: superfluous response.WriteHeader call from gitea.hashru.nl/dsprenkels/rushlink.render (views.go:121) Nov 22 02:49:04 koulourakia rushlink[15035]: 2019/11/22 02:49:04 error: panic while recovering from another panic: bad accept-params ("v=b3") ```
Author
Collaborator

Accept-header from Chromium:

accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3```
Accept-header from Chromium: ``` accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3```
mrngm closed this issue 2019-11-29 20:49:26 +01:00
Owner

Reopening, because this issue desperately needs a proper unit test.

Reopening, because this issue desperately needs a proper unit test.
electricdusk added the
needs-test
label 2019-12-03 15:33:38 +01:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: electricdusk/rushlink#17
No description provided.