Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Using POST instead of GET for long queries #595

Open
@lucasvanhalst

Description

@lucasvanhalst

On Google Appengine, there's a 2KB limit for urls. So if you do multiple queries in one api call, that 2kb is exceeded pretty easily.

It would be nice if we could specify the http method in thequery method to avoid that limit.

for now, we've patched the library in our project to replace this

https://github.com/influxdata/influxdb-python/blob/master/influxdb/client.py#L404-L410

with:

response=self.request(url="query",method='POST',params=None,data=urllib.urlencode(params),headers={'Content-Type':'application/x-www-form-urlencoded'},expected_response_code=expected_response_code    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp