ASF Bugzilla – Attachment 34992 Details for
Bug 61086
Some clients hang when HTTP responses give status 205 Reset Content
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Exemple standalone servlet to give out HTTP 205 response
Return205.java (text/plain), 357 bytes, created by
Mayeul
on 2017-05-11 20:29:50 UTC
(
hide
)
Description:
Exemple standalone servlet to give out HTTP 205 response
Filename:
MIME Type:
Creator:
Mayeul
Created:
2017-05-11 20:29:50 UTC
Size:
357 bytes
patch
obsolete
>package org.mmarguet.web; > >import javax.servlet.annotation.WebServlet; >import javax.servlet.http.*; > >@WebServlet(urlPatterns = {""}) >public class Return205 extends HttpServlet { > > protected void service(HttpServletRequest req, HttpServletResponse resp) { > resp.setHeader("x-mmar-servletname", "return205"); > resp.setStatus(205); > } > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 61086
: 34992 |
34993
|
35175
|
35179