php - How does get_headers work in the background -
i tryied searching , belive alredy know answer it's crusal i'm not wrong, here go..
when calling get_headers
, retrieve whole file though function returns headers or retrieve, expected, headers , nothing else?
i'm guessing last if i'm wrong cause serious problems.. noticed there global setting can change send head request instead of default request, witch why i'm asking self whats going on.
edit
maybe function better alternative? stream_get_meta_data or same thing?
you take @ source code, if familiar c.
the function defined here. looked on this, , seems header-only request, see line 715:
stream_only_get_headers
Comments
Post a Comment