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

Sizes in body when using client.post() #110

Closed
Assignees
deanberris
@ghost

Description

Hello,

When I do
curl -d "q=%3A&version=2.2&start=0&rows=10&indent=on"http://192.168.0.202:8080/solr/lg_fr_alpha4/select/?

the ouput XML stream is fine. When I use wireshark I can see in the middle of the XML stream, some size values once in a while:

<int name="warranty">-1</int><int

2000
name="in_stock_format">0

breaking the XML. I guess that's part of the HTTP Post protocol. When I use:

req << header("Content-Length", content_length);req << header("Content-Type", content_type);req << body(solrQuery);http::client client;http::client::response response;response = client.post(req);string myString = body(response);

The "2000" size values appears also in "myString". What is the right way to use http::client or response such that this size values disappear from myString ??? Thank you.

Metadata

Metadata

Assignees

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