You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@htrace.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2015/01/30 00:25:34 UTC
[jira] [Commented] (HTRACE-98) Web Server should use PrefixHandler
[ https://issues.apache.org/jira/browse/HTRACE-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14297891#comment-14297891 ]
Colin Patrick McCabe commented on HTRACE-98:
--------------------------------------------
Thanks, Abe. Not sure how we managed to break this :P
{code}
220 hand.lg.Debugf("req.URL.Path = %s\n", req.URL.Path)
{code}
Can you write "defaultServeHandler(path=%s, ident=%s)" here... (maybe move after the setting of ident)
{code}
276 // Default Handler. This will serve requests for static requests.
277 r.PathPrefix("/").Handler(&defaultServeHandler{lg: rsv.lg})
{code}
Can we restrict this to only be invoked for GET (but not POST or PUT)?
> Web Server should use PrefixHandler
> -----------------------------------
>
> Key: HTRACE-98
> URL: https://issues.apache.org/jira/browse/HTRACE-98
> Project: HTrace
> Issue Type: Bug
> Reporter: Abraham Elmahrek
> Assignee: Abraham Elmahrek
> Attachments: HTRACE-98.0.patch
>
>
> We should be using the PrefixHandler so that all static content can be served.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)