Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-24591

Setting "Transfer-Encoding : chunked" programatically with netty HttpHeaders was forbidden in previous versions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Blocker
    • None
    • 7.4.10.CR1
    • Server
    • False
    • None
    • False

    Description

      Setting "Transfer-Encoding : chunked" programatically with netty HttpHeaders was forbidden in previous versions

      HttpRequest request = new DefaultFullHttpRequest(
      HttpVersion.HTTP_1_1, HttpMethod.GET, testURL.toString());
      HttpHeaders headers = request.headers();
            
      headers.set("Transfer-Encoding ", "chunked");

       

      was throwing an exception with a message ... "a header name cannot contain the following prohibited characters"

       

      Attachments

        Activity

          People

            thofman Tomas Hofman
            psotirop@redhat.com Panagiotis Sotiropoulos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: