Merge branch 'master' of github.com:bytemaster/fc

This commit is contained in:
Daniel Larimer 2012-11-16 12:40:35 -05:00
commit 9edcfcf947
2 changed files with 3 additions and 2 deletions

View file

@ -7,8 +7,8 @@ namespace fc {
class path;
namespace ssh {
namespace detail {
struct client_impl;
struct process_impl;
class client_impl;
class process_impl;
};
enum sftp_file_type {

View file

@ -74,6 +74,7 @@ http::reply connection::request( const fc::string& method,
fc::stringstream req;
req << method <<" "<<url<<" HTTP/1.1\r\n";
req << "Host: localhost\r\n";
req << "Content-Type: application/json\r\n";
if( body.size() ) req << "Content-Length: "<< body.size() << "\r\n";
req << "\r\n";
fc::string head = req.str();