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

« back to all changes in this revision

Viewing changes to src/Request.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:
52
52
  std::string uri_;
53
53
  std::string currentUri_;
54
54
  /**
55
 
   * URI previously requested to the server. This is used as Referer
56
 
   */
57
 
  std::string previousUri_;
58
 
  /**
59
 
   * URI used as Referer in the initial request
 
55
   * URI used as Referer header field
60
56
   */
61
57
  std::string referer_;
62
58
  std::string method_;
97
93
  // Returns URI passed by setUri()
98
94
  const std::string& getUri() const { return uri_; }
99
95
  const std::string& getCurrentUri() const { return currentUri_; }
100
 
  const std::string& getPreviousUri() const { return previousUri_; }
101
96
  const std::string& getReferer() const { return referer_; }
102
97
  void setReferer(const std::string& uri);
103
98
  const std::string& getProtocol() const { return us_.protocol; }