You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/12/06 03:43:31 UTC

[GitHub] [apisix] bisakhmondal opened a new pull request #5707: test: fix http status code

bisakhmondal opened a new pull request #5707:
URL: https://github.com/apache/apisix/pull/5707


   ### What this PR does / why we need it:
   <!--- Why is this change required? What problem does it solve? -->
   <!--- If it fixes an open issue, please link to the issue here. -->
   CI is breaking, fix the HTTP 200 status code for HTTP scheme (quite obvious, hitting HTTP  scheme redirects that to HTTPS domain).
   
   ```
   $ curl -i http://apisix.apache.org       
   HTTP/1.1 301 Moved Permanently
   Server: Varnish
   Retry-After: 0
   Location: https://apisix.apache.org/
   Content-Length: 0
   Accept-Ranges: bytes
   Date: Mon, 06 Dec 2021 03:41:47 GMT
   Via: 1.1 varnish
   Connection: close
   X-Served-By: cache-del21738-DEL
   X-Cache: HIT
   X-Cache-Hits: 0
   X-Timer: S1638762108.739976,VS0,VE0
   Strict-Transport-Security: max-age=300
   
   ```
   see 
   https://github.com/apache/apisix/runs/4421210670?check_suite_focus=true#step:14:835
   https://github.com/apache/apisix/runs/4411923874?check_suite_focus=true#step:10:716
   ### Pre-submission checklist:
   
   <!--
   Please follow the requirements:
   1. Use Draft if the PR is not ready to be reviewed
   2. Test is required for the feat/fix PR, unless you have a good reason
   3. Doc is required for the feat PR
   4. Use a new commit to resolve review instead of `push -f`
   5. Use "request review" to notify the reviewer once you have resolved the review
   -->
   
   * [x] Did you explain what problem does this PR solve? Or what new features have been added?
   * [x] Have you added corresponding test cases?
   * [ ] Have you modified the corresponding document?
   * [x] Is this PR backward compatible? **If it is not backward compatible, please discuss on the [mailing list](https://github.com/apache/apisix/tree/master#community) first**
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] leslie-tsang commented on pull request #5707: test: fix http status code

Posted by GitBox <gi...@apache.org>.
leslie-tsang commented on pull request #5707:
URL: https://github.com/apache/apisix/pull/5707#issuecomment-986411815


   Seems this test case has been fixed. Ref to #5699 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] bisakhmondal closed pull request #5707: test: fix http status code

Posted by GitBox <gi...@apache.org>.
bisakhmondal closed pull request #5707:
URL: https://github.com/apache/apisix/pull/5707


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] bisakhmondal commented on pull request #5707: test: fix http status code

Posted by GitBox <gi...@apache.org>.
bisakhmondal commented on pull request #5707:
URL: https://github.com/apache/apisix/pull/5707#issuecomment-986412704


   > Seems this test case has been fixed. Ref to #5699
   
   Ahh, thanks. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org