Làm cách nào để nhận phản hồi html từ chuỗi url? Sử dụng này:Cách nhận phản hồi html từ chuỗi url? (Đề án/Racket)
#lang racket
(require net/url)
(require net/websocket/client)
(define google (string->url "http://google.com"))
(ws-connect(struct-copy url google [scheme "ws"]))
Cung cấp cho tôi ws-connect: Invalid server handshake response. Expected #"\242\266\336\364\360\"\21~Y\347w\21L\2326\"", got #"<!DOCTYPE html>\n"
bản sao có thể có của [Làm cách nào để đọc một trang web trong Racket?] (Http://stackoverflow.com/questions/14016254/how-do-i-read-a-web-page-in-racket) –