Robot | Path | Permission |
GoogleBot | / | ✔ |
BingBot | / | ✔ |
BaiduSpider | / | ✔ |
YandexBot | / | ✔ |
User-agent: * Sitemap: https://tachingchen.com/sitemap.xml Sitemap: https://tachingchen.com/tw/sitemap.xml Sitemap: |
Title | Ta Ching |
Description | Preface TC Blog Categories About Me 繁體中文 Share Search Menu Pitfall of Go HTTP Header Operation Use example to explain common mistakes when operating HTTP Header i |
Keywords | N/A |
WebSite | tachingchen.com |
Host IP | 151.101.1.195 |
Location | United States |
Site | Rank |
US$941,785
Last updated: 2023-04-30 18:10:51
tachingchen.com has Semrush global rank of 11,238,557. tachingchen.com has an estimated worth of US$ 941,785, based on its estimated Ads revenue. tachingchen.com receives approximately 108,668 unique visitors each day. Its web server is located in United States, with IP address 151.101.1.195. According to SiteAdvisor, tachingchen.com is safe to visit. |
Purchase/Sale Value | US$941,785 |
Daily Ads Revenue | US$870 |
Monthly Ads Revenue | US$26,081 |
Yearly Ads Revenue | US$312,963 |
Daily Unique Visitors | 7,245 |
Note: All traffic and earnings values are estimates. |
Host | Type | TTL | Data |
tachingchen.com. | A | 7199 | IP: 151.101.1.195 |
tachingchen.com. | A | 7199 | IP: 151.101.65.195 |
tachingchen.com. | NS | 86400 | NS Record: ns2.onlydomains.com. |
tachingchen.com. | NS | 86400 | NS Record: ns1.onlydomains.com. |
tachingchen.com. | NS | 86400 | NS Record: ns3.onlydomains.com. |
tachingchen.com. | MX | 86400 | MX Record: 1 aspmx.l.google.com. |
tachingchen.com. | MX | 86400 | MX Record: 5 alt1.aspmx.l.google.com. |
tachingchen.com. | TXT | 86400 | TXT Record: google-site-verification=yipVXamIlR0mcwP9O75PUC6sT4U3wGFcP9RJvQuFMFU |
tachingchen.com. | TXT | 86400 | TXT Record: yandex-verification: 943a3c3f399e9e3e |
TC Blog Categories About Me 繁體中文 Share Search Menu Pitfall of Go HTTP Header Operation Use example to explain common mistakes when operating HTTP Header in Go December 20, 2018 ta-ching chen 4 minute read Preface Most of the recent works are working on manipulating HTTP header in Go and noticed some common mistakes people may fall into while in development. So following we will go through some examples to see how to prevent and resolve these problems. All sample code can be found at Github Repo 。 ResponseWriter.Write causes client receives wrong HTTP status code First, let’s see the following function and guess what HTTP status code user will receive. server.go http . HandleFunc ( "/" , func ( w http . ResponseWriter , r * http . Request ) { w . Write ([]byte( "foobar" )) w . WriteHeader ( http . StatusBadRequest ) }) 400 Bad Request? No, the answer is 200 OK。 $ curl -i http://127.0.0.1:8080 HTTP/1.1 200 OK Date: Thu, 20 Dec 2018 06:31:33 GMT Content-Length: 6 Content-Type: |
HTTP/1.1 301 Moved Permanently Server: Varnish Retry-After: 0 Location: https://tachingchen.com/ Content-Length: 0 Accept-Ranges: bytes Date: Sat, 23 Oct 2021 11:41:51 GMT Connection: close X-Served-By: cache-stl4839-STL X-Cache: HIT X-Cache-Hits: 0 X-Timer: S1634989312.634921,VS0,VE0 HTTP/2 200 cache-control: max-age=3600 content-type: text/html; charset=utf-8 etag: "e3d4e9734a25ad5a3562925b25930567af26abb7a734e522f2ba6134cd358402" last-modified: Thu, 03 Sep 2020 13:25:43 GMT strict-transport-security: max-age=31556926 accept-ranges: bytes date: Sat, 23 Oct 2021 11:41:51 GMT x-served-by: cache-stl4841-STL x-cache: MISS x-cache-hits: 0 x-timer: S1634989312.654674,VS0,VE150 vary: x-fh-requested-host, accept-encoding content-length: 27309 |
Domain Name: TACHINGCHEN.COM Registry Domain ID: 2038221919_DOMAIN_COM-VRSN Registrar WHOIS Server: whois.instra.net Registrar URL: http://www.instra.com Updated Date: 2018-05-25T20:24:39Z Creation Date: 2016-06-29T13:21:42Z Registry Expiry Date: 2022-06-29T13:21:42Z Registrar: Instra Corporation Pty Ltd. Registrar IANA ID: 1376 Registrar Abuse Contact Email: abuse@instra.com Registrar Abuse Contact Phone: +61.397831800 Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited Name Server: NS1.ONLYDOMAINS.COM Name Server: NS2.ONLYDOMAINS.COM Name Server: NS3.ONLYDOMAINS.COM DNSSEC: unsigned >>> Last update of whois database: 2021-09-11T22:40:09Z <<< |