Remove the html2xml endpoint.#3034
Conversation
3df56d2 to
ff7284e
Compare
This has been deprecated since the release of webwork 2.18. It is time for it to go. I believe that everyone that used to use this endpoint have now updated to use the `render_rpc` endpoint. If not, then we can wait another release for this.
ff7284e to
d708d76
Compare
|
There is one thing that PTX still uses this for. It's something about determining the WeBWorK version of a server it is contacting. I will have to refresh myself later. I suspect it is something that could be ironed out in time for PTX to support a 2.21 server, but might need to ensure there is a solid way for a webwork2 server to be broadcasting its version. I can look into it in a few weeks. But in the meantime, is there a simple way to just ask a webwork2 server to report its version? |
|
At this point there is no particularly clean way to make a webwork server report its version. But there are ways to get it. One way would be to try the html2xml endpoint, and if the request fails, then you know it is 2.21 or newer. Another way would be to get the root page |
|
For testing to see if the |
|
Using the |
This has been deprecated since the release of webwork 2.18. It is time for it to go. I believe that everyone that used to use this endpoint have now updated to use the
render_rpcendpoint. If not, then we can wait another release for this.