~ubuntu-branches/ubuntu/trusty/aria2/trusty

« back to all changes in this revision

Viewing changes to src/HttpResponseCommand.h

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry
  • Date: 2013-12-16 18:41:03 UTC
  • mfrom: (2.5.21 sid)
  • Revision ID: package-import@ubuntu.com-20131216184103-xzah3019zwut429g
Tags: 1.18.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
  bool skipResponseBody(std::unique_ptr<HttpResponse> httpResponse);
69
69
 
70
70
  std::unique_ptr<HttpDownloadCommand>
71
 
  createHttpDownloadCommand
72
 
  (std::unique_ptr<HttpResponse> httpResponse,
73
 
   std::unique_ptr<StreamFilter> streamFilter);
 
71
  createHttpDownloadCommand(std::unique_ptr<HttpResponse> httpResponse,
 
72
                            std::unique_ptr<StreamFilter> streamFilter);
74
73
 
75
74
  void updateLastModifiedTime(const Time& lastModified);
76
75
 
81
80
  // Returns true if dctx and checksum has same hash type and hash
82
81
  // value.  If they have same hash type but different hash value,
83
82
  // throws exception.  Otherwise returns false.
84
 
  bool checkChecksum
85
 
  (const std::shared_ptr<DownloadContext>& dctx,
86
 
   const Checksum& checksum);
 
83
  bool checkChecksum(const std::shared_ptr<DownloadContext>& dctx,
 
84
                     const Checksum& checksum);
87
85
#endif // ENABLE_MESSAGE_DIGEST
 
86
 
88
87
protected:
89
 
  bool executeInternal();
 
88
  bool executeInternal() CXX11_OVERRIDE;
90
89
 
91
90
  bool shouldInflateContentEncoding(HttpResponse* httpResponse);
92
91