fetch.3 (226537) | fetch.3 (233648) |
---|---|
1.\"- 2.\" Copyright (c) 1998-2011 Dag-Erling Sm��rgrav 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" | 1.\"- 2.\" Copyright (c) 1998-2011 Dag-Erling Sm��rgrav 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/lib/libfetch/fetch.3 226537 2011-10-19 11:43:51Z des $ | 26.\" $FreeBSD: head/lib/libfetch/fetch.3 233648 2012-03-29 05:02:12Z eadler $ |
27.\" 28.Dd September 27, 2011 29.Dt FETCH 3 30.Os 31.Sh NAME 32.Nm fetchMakeURL , 33.Nm fetchParseURL , 34.Nm fetchFreeURL , --- 335 unchanged lines hidden (view full) --- 370.Fn fetchPutHTTP 371will use a direct connection even if a proxy server is defined. 372.Pp 373If the 374.Ql i 375(if-modified-since) flag is specified, and 376the 377.Va ims_time | 27.\" 28.Dd September 27, 2011 29.Dt FETCH 3 30.Os 31.Sh NAME 32.Nm fetchMakeURL , 33.Nm fetchParseURL , 34.Nm fetchFreeURL , --- 335 unchanged lines hidden (view full) --- 370.Fn fetchPutHTTP 371will use a direct connection even if a proxy server is defined. 372.Pp 373If the 374.Ql i 375(if-modified-since) flag is specified, and 376the 377.Va ims_time |
378field is set in | 378field is set in |
379.Vt "struct url" , 380then 381.Fn fetchXGetHTTP 382and 383.Fn fetchGetHTTP 384will send a conditional 385.Li If-Modified-Since 386HTTP header to only fetch the content if it is newer than --- 339 unchanged lines hidden --- | 379.Vt "struct url" , 380then 381.Fn fetchXGetHTTP 382and 383.Fn fetchGetHTTP 384will send a conditional 385.Li If-Modified-Since 386HTTP header to only fetch the content if it is newer than --- 339 unchanged lines hidden --- |