This website works better with JavaScript.
홈
탐색
도움말
가입하기
로그인
Patrick
/
wechat_hitxy
보기
1
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
0
위키
Activity
소스 검색
signature check for all requests
master
Patrick Peng Sun
8 년 전
부모
991cd591d1
커밋
256ac67577
1개의 변경된 파일
과
4개의 추가작업
그리고
0개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
server.go
+ 4
- 0
server.go
파일 보기
@@ -16,6 +16,10 @@ import (
//
func apiV1Main(w http.ResponseWriter, r *http.Request) {
logRequestDebug(httputil.DumpRequest(r, true))
if checkSignature(r) == false {
fmt.Fprintf(w, "") //empty string
return
}
switch r.Method {
case "POST":
Write
Preview
Loading…
취소
저장