You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2005/05/13 13:56:30 UTC

DO NOT REPLY [Bug 34906] New: - User-Agent is PARAMETER, not HEADER in Command-line interface

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34906>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34906

           Summary: User-Agent is PARAMETER, not HEADER in Command-line
                    interface
           Product: Cocoon 2
           Version: Current SVN 2.1
          Platform: All
               URL: http://cocoon.apache.org/2.1
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: core
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: james.bates@amplexor.com


The Cocoon command line interface provides a switch for simulating 
the Cocoon User-Agent header that would be sent by a browser. The 
idea being that it could be used by e.g. the browser selector to 
�detect� that a request is coming from the CLI.
 
When investigating however, I noticed that the Cocoon bean (the 
class that implements the CLI) does not place the User-Agent into a 
HEDAER, but into a request PARAMETER instead (occurs on line 407 of 
CocoonWrapper.java, in method processURI() in BRANCH_2_1_X; line 421 
of the same file in 2.2 trunk).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.