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

Receiving a cluttered http body #86

Closed
Milestone
@viric

Description

@viric

I'm trying this example:

using namespace boost::network;using namespace boost::network::http;int main(){    client::request request_("http://www.boost.org/");    request_ << header("Connection", "close");    client client_;    client::response response_ = client_.get(request_);    std::string bodyx = body(response_);    std::cout << bodyx;}

And I'm getting a cluttered body like this with 0.9.2:

38b<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>  <meta name="generator" content=  "HTML Tidy for Windows (vers 1st November 2003), see www.w3.org" />  <title>Boost C++ Libraries</title>  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  <link rel="icon" href="/favicon.ico" type="image/ico" />  <link rel="stylesheet" type="text/css" href="/style-v2/section-welcome.css" />  <!--[if IE 7]> <style type="text/css"> body { behavior: url(/style-v2/csshover3.htc); } </style> <![endif]-->  <meta name="google-site-verification" content="mpr2HgFpodnbF_8fv4qXd9roIClVwtX3C-Kd3F6r61w" /></head><!--Note: Editing website content is documented at:http://www.boost.org/development/website_updating.html--><body>  <div>30c<div>  <div></div>....

What are these 38c, 30c, ... ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp