Skip to content

Does POST function support http2? #1618

Description

@bj7

Hello, I saw plenty of examples in different tickets on how to enable http2 support in GET requests (#1399 (comment)), but I could not find any examples of enabling it in POST requests.

I've set the http2 property to true
superagent.http2 = true; superagent .post(ajaxUrl + "?module=" +.....
However, whenever I look at my nginx access logs, the POST request is showing as http1.1. Is there any explanation for why running the same code in the browser reports http2, but running it in a node process shows as http 1.1? Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions