apparently http.Error requires a plaintext response
This commit is contained in:
parent
44a34fcba7
commit
8c35ea1bcd
@ -32,11 +32,7 @@ func NeedsConsent(next http.Handler) http.Handler {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const cookieFailed = `<!DOCTYPE html>
|
const cookieFailed = `
|
||||||
<html>
|
The requested resource requires consent to processing identifying information and storying necessary cookies.
|
||||||
<body>
|
I'm just a lil guy. The information is used solely for providing the service's functionality.
|
||||||
<h1>Consent required</h1>
|
`
|
||||||
<p>The requested resource requires consent to processing identifying information and storying necessary cookies.</p>
|
|
||||||
<p>I'm just a lil guy. The information is used solely for providing the service's functionality.</p>
|
|
||||||
</body>
|
|
||||||
</html>`
|
|
||||||
|
Loading…
Reference in New Issue
Block a user