Generated HttpRequest Object from string

Does this even work?
Why are you splitting on "/" ?