All Projects → yakeing → get_header

yakeing / get_header

Licence: MPL-2.0 license
This function is similar to the get_headers function

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to get header

curl4cpp
Single header cURL wrapper for C++ around libcURL
Stars: ✭ 14 (-60%)
Mutual labels:  curl, header
ambient
What can a public hotspot tell you?
Stars: ✭ 57 (+62.86%)
Mutual labels:  curl
42header.vim
Add and update the 42 comment header at the top of your files
Stars: ✭ 15 (-57.14%)
Mutual labels:  header
react-banner
A dynamic banner/header component.
Stars: ✭ 25 (-28.57%)
Mutual labels:  header
guile-curl
A language binding for the CURL network client library for the Guile version of the Scheme language
Stars: ✭ 23 (-34.29%)
Mutual labels:  curl
homebrew-portable-ruby
🚗 Versions of Ruby that can be installed and run from anywhere on the filesystem.
Stars: ✭ 96 (+174.29%)
Mutual labels:  curl
RTHeadedColumnView
Multi-column content with a common header view
Stars: ✭ 12 (-65.71%)
Mutual labels:  header
poop
Firefox extension that prevents sending Origin headers when they are least likely to be necessary, to protect your privacy.
Stars: ✭ 36 (+2.86%)
Mutual labels:  header
CwsShareCount
PHP class to get social share count for Delicious, Facebook, Google+, Linkedin, Pinterest, Reddit, StumbleUpon and Twitter.
Stars: ✭ 13 (-62.86%)
Mutual labels:  curl
curl
cURL command in full java. Any argument/option you need raise an issue here.
Stars: ✭ 103 (+194.29%)
Mutual labels:  curl
r2curl
Node.js Request Wrapper (axios, fetch, ..) to cURL Command String
Stars: ✭ 30 (-14.29%)
Mutual labels:  curl
Speedport-Plus-Cosmote-Router-hacks
Exploring the Sercomm made router of Cosmote - OTE Group (Deutsche Telekom in Greece)
Stars: ✭ 64 (+82.86%)
Mutual labels:  curl
vscodefileheader
VSCode File Header
Stars: ✭ 17 (-51.43%)
Mutual labels:  header
pagination
Aplus Framework Pagination Library
Stars: ✭ 167 (+377.14%)
Mutual labels:  header
curl
A PHP 5.4+ library for making asynchronous HTTP requests.
Stars: ✭ 73 (+108.57%)
Mutual labels:  curl
easyhttp
EasyHttp 是一个轻量级、语义化、对IDE友好的HTTP客户端,支持常见的HTTP请求、异步请求和并发请求,让你可以快速地使用 HTTP 请求与其他 Web 应用进行通信。
Stars: ✭ 31 (-11.43%)
Mutual labels:  curl
pg curl
PostgreSQL curl allows most curl actions, including data transfer with URL syntax via HTTP, HTTPS, FTP, FTPS, GOPHER, TFTP, SCP, SFTP, SMB, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3, RTSP and RTMP
Stars: ✭ 30 (-14.29%)
Mutual labels:  curl
gohit
Run curl commands from yaml files
Stars: ✭ 19 (-45.71%)
Mutual labels:  curl
igdb
IGDB PHP API Wrapper
Stars: ✭ 20 (-42.86%)
Mutual labels:  curl
peerai-api
Peerism's Peer.ai API built with Truffle, Node.js, Express.js, Solidity, and Ethereum TestRPC
Stars: ✭ 18 (-48.57%)
Mutual labels:  curl

GET HTTP HEADER

This function is similar to the get_headers function.

get_headers is recommended because it is more efficient.

Travis CI badge

Travis-ci

codecov badge

codecov

Github badge

Downloads Size tag license languages

Installation

Use Composer to install the library. Of course, You can go to Packagist to view.

    $ composer require yakeing/get_header

test

  • example
      include('GetHeader.php');
      $url = "https://github.com/yakeing/get_header";
      $GetHeader = new GetHeader();
      $Header = GetHeader->curlHeader($url);
      var_dump($Header);

outcome

  • example
    Array
    (
            [code] = 606
            [Server] = nginx/1.4.1
            [Date] = Tue, 15 Sep 2015 20:17:27 GMT
            [Content-Type] = text/html
            [Content-Length] = 464
            [Connection] = close
            [ETag] = "55b07eb9-1d0"
    )

    Array
    (
            [code] = 200
            [Server] = nginx/1.4.1
            [Date] = Tue, 15 Sep 2015 20:17:28 GMT
            [Content-Type] = text/html; charset=utf-8
            [Connection] = close
            [Set-Cookie] = expires=Wed, 16-Sep-2015 20:17:28 GMT; path=/; domain=.sinacloud.com
            [Expires] = Thu, 19 Nov 1981 08:52:00 GMT
            [Cache-Control] = private
            [Pragma] = no-cache
            [Via] = 10.67.15.158
            [Vary] = Accept-Encoding
    )

    Array
    (
            [code] = 200
            [Server] = nginx/1.4.1
            [Date] = Tue, 15 Sep 2015 20:17:28 GMT
            [Content-Type] = image/jpeg
            [Content-Length] = 40836
            [Connection] = close
            [Accept-Ranges] = bytes
            [Access-Control-Allow-Origin] = *
            [Access-Control-Max-Age] = 2592000
            [Cache-Control] = public, max-age=31536000
            [Content-Disposition] = inline; filename="weixin.jpg"
            [Content-Transfer-Encoding] = binary
            [ETag] = "FnDvgIWd1W48UL3WzKYwB7UfrS9w"
            [Last-Modified] = Thu, 20 Aug 2015 04:01:43 GMT
            [X-Log] = mc.g;IO:2
            [X-Reqid] = FGAAAMR9NAAXQAQU
            [X-Qiniu-Zone] = 0
            [X-Via] = 1.1 ych69:80 (Cdn Cache Server V2.0), 1.1 xdx20:5 (Cdn Cache Server V2.0)
    )

Sponsor

If you've got value from any of the content which I have created, then I would very much appreciate your support by payment donate.

Sponsor

Author

weibo: yakeing

twitter: yakeing

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].