-
Notifications
You must be signed in to change notification settings - Fork 203
HTTP POST tests #1037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Ah yes, good find @karlcow. |
@karlcow can you check if this is still an issue? |
This is still an issue.
HTTP/1.0 200 OK
Content-Length: 23790
Content-Security-Policy-Report-Only: default-src 'none'; connect-src 'self' https://api.github.com; font-src 'self'; img-src 'self' https://www.google-analytics.com https://*.githubusercontent.com data:; manifest-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline' https://www.google-analytics.com https://api.github.com; style-src 'self' 'unsafe-inline'; report-uri /csp-report
Content-Type: text/html; charset=utf-8
Date: Thu, 11 May 2017 00:58:06 GMT
Server: Werkzeug/0.10.4 Python/2.7.10
Set-Cookie: session=eyJjc3JmX3Rva2VuIjp7IiBiIjoiTVRGbU1HSmhZVEEwTm1ObE1UTXpaR0prT0dFeU9XRTFOamt4TjJSaVptTmtabUkwWldOa05BPT0ifX0.C_VIng.tj2DbBkUa2qu8CBiJ9sr6vDuzvw; HttpOnly; Path=/
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block but it is easy to solve because the issue is touching only dead code. |
and we do not have functional tests creating issues from the home page.
|
Yeah, we don't test creating issues in general because I'm afraid GitHub will mark us as spammers. We need to be able to mock the API first, I think. |
This is good.
http POST http://localhost:5000/issues
But this is "not good". (I know it is a leftover of the preview design)
http POST http://localhost:5000/
When the POST is successful the user get a
302
with redirection to a thanks page.This could be fixed at the same time than #646
with:
/issues/new
The text was updated successfully, but these errors were encountered: