FreeBSD/contrib/subversion/subversion/libsvn_ra_serf/get_file.c
/** Routines called when we are fetching a file */
Routines called when we are fetching a file
Routines called when we are fetching a file
static svn_error_t *
headers_fetch(serf_bucket_t *headers,
              void *baton,
              apr_pool_t *pool ,
              apr_pool_t *scratch_pool)
{
  stream_ctx_t *fetch_ctx = baton;
  if (fetch_ctx->using_compression)
    {
      serf_bucket_headers_setn(headers, "Accept-Encoding", "gzip");
    }
  return SVN_NO_ERROR;
}
static svn_error_t * headers_fetch ( serf_bucket_t * headers , void * baton , apr_pool_t * pool , apr_pool_t * scratch_pool ) { stream_ctx_t * fetch_ctx = baton ; if ( fetch_ctx -> using_compression ) { serf_bucket_headers_setn ( headers , " " , " " ) ; } return SVN_NO_ERROR ; }
Routines called when we are fetching a file
Routines called when we are fetching a file
/* request pool */